PREFIX fhir: PREFIX fhirvs: PREFIX xsd: BASE start=@ AND {fhir:nodeRole [fhir:treeRoot]} # PaymentReconciliation resource CLOSED { a [fhir:PaymentReconciliation]; fhir:nodeRole [fhir:treeRoot]?; fhir:Resource.id id?; # Logical id of this artifact fhir:Resource.meta @?; # Metadata about the resource fhir:Resource.implicitRules @?; # A set of rules under which this # content was created fhir:Resource.language @?; # Language of the resource content fhir:DomainResource.text @?; # Text summary of the resource, for # human interpretation fhir:DomainResource.contained @*; # Contained, inline Resources fhir:DomainResource.extension @*; # Additional content defined by # implementations fhir:DomainResource.modifierExtension @*; # Extensions that cannot be ignored fhir:PaymentReconciliation.identifier @*; # Business Identifier for a payment # reconciliation fhir:PaymentReconciliation.status @ AND {fhir:value @fhirvs:fm-status}; # active | cancelled | draft | # entered-in-error fhir:PaymentReconciliation.period @?; # Period covered fhir:PaymentReconciliation.created @; # Creation date fhir:PaymentReconciliation.paymentIssuer @?; # Party generating payment fhir:PaymentReconciliation.request @?; # Reference to requesting resource fhir:PaymentReconciliation.requestor @?; # Responsible practitioner fhir:PaymentReconciliation.outcome @ AND {fhir:value @fhirvs:remittance-outcome}?; # queued | complete | error | partial fhir:PaymentReconciliation.disposition @?; # Disposition message fhir:PaymentReconciliation.paymentDate @; # When payment issued fhir:PaymentReconciliation.paymentAmount @; # Total amount of Payment fhir:PaymentReconciliation.paymentIdentifier @?; # Business identifier for the payment fhir:PaymentReconciliation.detail @*; # Settlement particulars fhir:PaymentReconciliation.formCode @?; # Printed form identifier fhir:PaymentReconciliation.processNote @*; # Note concerning processing fhir:index xsd:integer? # Relative position in a list } # Settlement particulars CLOSED { fhir:Element.id string?; # Unique id for inter-element # referencing fhir:Element.extension @*; # Additional content defined by # implementations fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored # even if unrecognized fhir:PaymentReconciliation.detail.identifier @?; # Business identifier of the payment # detail fhir:PaymentReconciliation.detail.predecessor @?; # Business identifier of the prior # payment detail fhir:PaymentReconciliation.detail.type @; # Category of payment fhir:PaymentReconciliation.detail.request @?; # Request giving rise to the payment fhir:PaymentReconciliation.detail.submitter @?; # Submitter of the request fhir:PaymentReconciliation.detail.response @?; # Response committing to a payment fhir:PaymentReconciliation.detail.date @?; # Date of commitment to pay fhir:PaymentReconciliation.detail.responsible @?; # Contact for the response fhir:PaymentReconciliation.detail.payee @?; # Recipient of the payment fhir:PaymentReconciliation.detail.amount @?; # Amount allocated to this payable fhir:index xsd:integer? # Relative position in a list } # Note concerning processing CLOSED { fhir:Element.id string?; # Unique id for inter-element # referencing fhir:Element.extension @*; # Additional content defined by # implementations fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored # even if unrecognized fhir:PaymentReconciliation.processNote.type @ AND {fhir:value @fhirvs:note-type}?; # display | print | printoper fhir:PaymentReconciliation.processNote.text @?; # Note explanatory text fhir:index xsd:integer? # Relative position in a list } #---------------------- Data Types ------------------- # Primitive Type dateTime CLOSED { fhir:Element.id string?; # xml:id (or equivalent in JSON) fhir:Element.extension @*; # Additional content defined by # implementations fhir:value dateTime?; # Primitive value for dateTime fhir:index xsd:integer? # Relative position in a list } # Primitive Type date CLOSED { fhir:Element.id string?; # xml:id (or equivalent in JSON) fhir:Element.extension @*; # Additional content defined by # implementations fhir:value date?; # Primitive value for date fhir:index xsd:integer? # Relative position in a list } # Metadata about a resource CLOSED { fhir:Element.id id?; # Unique id for inter-element # referencing fhir:Element.extension @*; # Additional content defined by # implementations fhir:Meta.versionId @?; # Version specific identifier fhir:Meta.lastUpdated @?; # When the resource version last # changed fhir:Meta.source @?; # Identifies where the resource # comes from fhir:Meta.profile @*; # Profiles this resource claims to # conform to fhir:Meta.security @*; # Security Labels applied to this # resource fhir:Meta.tag @*; # Tags applied to this resource fhir:index xsd:integer? # Relative position in a list } # Primitive Type code CLOSED { fhir:Element.id string?; # xml:id (or equivalent in JSON) fhir:Element.extension @*; # Additional content defined by # implementations fhir:value code?; # Primitive value for code fhir:index xsd:integer? # Relative position in a list } # Primitive Type string CLOSED { fhir:Element.id string?; # xml:id (or equivalent in JSON) fhir:Element.extension @*; # Additional content defined by # implementations fhir:value string MAXLENGTH 1048576?; # Primitive value for string fhir:index xsd:integer? # Relative position in a list } # A reference from one resource to another CLOSED { fhir:link IRI?; fhir:Element.id id?; # Unique id for inter-element # referencing fhir:Element.extension @*; # Additional content defined by # implementations fhir:Reference.reference @?; # Literal reference, Relative, # internal or absolute URL fhir:Reference.type @?; # Type the reference refers to (e.g. # "Patient") fhir:Reference.identifier @?; # Logical reference, when literal # reference is not known fhir:Reference.display @?; # Text alternative for the resource fhir:index xsd:integer? # Relative position in a list } # Base Resource {a .+; fhir:Resource.id id?; # Logical id of this artifact fhir:Resource.meta @?; # Metadata about the resource fhir:Resource.implicitRules @?; # A set of rules under which this # content was created fhir:Resource.language @?; # Language of the resource content fhir:index xsd:integer? } # Time range defined by start and end date/time CLOSED { fhir:Element.id id?; # Unique id for inter-element # referencing fhir:Element.extension @*; # Additional content defined by # implementations fhir:Period.start @?; # Starting time with inclusive # boundary fhir:Period.end @?; # End time with inclusive boundary, # if not ongoing fhir:index xsd:integer? # Relative position in a list } # Primitive Type uri CLOSED { fhir:Element.id string?; # xml:id (or equivalent in JSON) fhir:Element.extension @*; # Additional content defined by # implementations fhir:value uri?; # Primitive value for uri fhir:index xsd:integer? # Relative position in a list } # Optional Extensions Element CLOSED { fhir:Element.id id?; fhir:Element.extension @*; fhir:Extension.url uri; ( fhir:Extension.valueBase64Binary @ | fhir:Extension.valueBoolean @ | fhir:Extension.valueCanonical @ | fhir:Extension.valueCode @ | fhir:Extension.valueDate @ | fhir:Extension.valueDateTime @ | fhir:Extension.valueDecimal @ | fhir:Extension.valueId @ | fhir:Extension.valueInstant @ | fhir:Extension.valueInteger @ | fhir:Extension.valueMarkdown @ | fhir:Extension.valueOid @ | fhir:Extension.valuePositiveInt @ | fhir:Extension.valueString @ | fhir:Extension.valueTime @