Defining URL: | https://fhir.medirecords.com/StructureDefinition/mr-documentreference-prescription |
Version: | 1.3.0 |
Name: | MRDocumentReferencePrescription |
Title: | MR DocumentReference Prescription |
Status: | Active as of 2023-09-15 01:10:47+0000 |
Definition: | MediRecords DocumentReference profile for medication prescription document |
Source Resource: | XML / JSON / Turtle |
The official URL for this profile is:
https://fhir.medirecords.com/StructureDefinition/mr-documentreference-prescription
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from MRDocumentReference
Summary
Mandatory: 4 elements
Must-Support: 3 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
This structure is derived from MRDocumentReference
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | MRDocumentReference | A reference to a document | |
![]() ![]() ![]() | 0..* | Identifier | Other identifiers for the document Slice: Unordered, Open by pattern:type | |
![]() ![]() ![]() ![]() | S | 0..1 | AULocalPrescriptionIdentifier | Local Prescription Identifier |
![]() ![]() ![]() ![]() ![]() | 1..1 | uri | MediRecords tenant ID prefixed with 'urn:uuid:' | |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | MediRecords script number, e.g. 4010 | |
![]() ![]() ![]() ![]() ![]() | ||||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | string | MediRecords tenant name | |
![]() ![]() ![]() | 1..1 | CodeableConcept | Prescription for medication | |
![]() ![]() ![]() | 1..1 | CodeableConcept | Prescription for medication Required Pattern: At least the following | |
![]() ![]() ![]() ![]() | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
![]() ![]() ![]() ![]() ![]() | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
![]() ![]() ![]() ![]() ![]() | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 57833-6 | |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | Representation defined by the system Fixed Value: Prescription for medication | |
![]() ![]() ![]() | 1..1 | instant | Prescription date | |
![]() ![]() ![]() | S | 1..1 | Reference(MediRecords Core Practitioner) | Author of prescription |
![]() ![]() ![]() | ||||
![]() ![]() ![]() ![]() | ||||
![]() ![]() ![]() ![]() ![]() | 1..1 | code | application/pdf Required Pattern: application/pdf | |
![]() ![]() ![]() | ||||
![]() ![]() ![]() ![]() | 0..* | Reference(Resource) | Related identifiers or resources Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() ![]() | S | 0..1 | Reference(MedicationRequest) | Reference to related prescription MedicationRequest |
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() | 0..* | MRDocumentReference | A reference to a document | |||||
![]() ![]() ![]() | Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() | S | 0..1 | MRMeta | Metadata about a resource | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() | Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() ![]() | SΣ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() ![]() | Σ | 1..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() ![]() | SΣC | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() ![]() | Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() | 0..1 | Reference(MediRecords Core Practitioner | MediRecords Core Organisation | MediRecords Core Patient | MediRecords Core PractitionerRole) | MediRecords DocumentReference Recipient Extension URL: https://fhir.medirecords.com/StructureDefinition/mr-document-ref-recipient-extn | |||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..0 | |||||||
![]() ![]() ![]() ![]() | 1..1 | uri | "https://fhir.medirecords.com/StructureDefinition/mr-document-ref-recipient-extn" | |||||
![]() ![]() ![]() ![]() | 1..1 | Reference(MediRecords Core Practitioner | MediRecords Core Organisation | MediRecords Core Patient | MediRecords Core PractitionerRole) | Document recipient Slice: Unordered, Closed by type:$this | |||||
![]() ![]() ![]() ![]() ![]() | 1..1 | Reference(MediRecords Core Practitioner | MediRecords Core Organisation | MediRecords Core Patient) | Document recipient | |||||
![]() ![]() ![]() | 0..1 | string | MediRecords DocumentReference Title Extension URL: https://fhir.medirecords.com/StructureDefinition/mr-document-ref-title-extn | |||||
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() | Σ | 0..1 | Identifier | Master Version Specific Identifier | ||||
![]() ![]() ![]() | Σ | 0..* | Identifier | Other identifiers for the document Slice: Unordered, Open by pattern:type | ||||
![]() ![]() ![]() ![]() | S | 0..1 | AULocalPrescriptionIdentifier | Local Prescription Identifier | ||||
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 1..1 | CodeableConcept | Coded identifier type for local prescription identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org.au/CodeSystem/v2-0203 | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | code | Symbol in syntax defined by the system Fixed Value: LPN | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | string | Plain text representation of the concept | |||||
![]() ![]() ![]() ![]() ![]() | Σ | 1..1 | uri | MediRecords tenant ID prefixed with 'urn:uuid:' Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 1..1 | string | MediRecords script number, e.g. 4010 Example General: 123456 | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 1..1 | Reference(Organization) | Organisation that assigned the prescription identifier | ||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() | ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() ![]() ![]() | Σ | 1..1 | string | MediRecords tenant name | ||||
![]() ![]() ![]() | ?!SΣC | 1..1 | code | Indicates if document is Active(current) or Inactive(entered-in-error) Binding: DocumentReferenceStatus (required): The status of the document reference. | ||||
![]() ![]() ![]() | SΣ | 0..1 | code | Indicates if the document is Unchecked/Draft (preliminary) or Checked/Final (final) or Amended (amended) or Cancelled/Rejected (entered-in-error) Binding: CompositionStatus (required): Status of the underlying document. | ||||
![]() ![]() ![]() | SΣ | 1..1 | CodeableConcept | Prescription for medication Binding: DocumentTypeValueSet (preferred): Precise type of clinical document. | ||||
![]() ![]() ![]() | SΣ | 1..1 | CodeableConcept | Prescription for medication Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level. Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |||||
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |||||
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() ![]() | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 57833-6 | |||||
![]() ![]() ![]() ![]() ![]() | 1..1 | string | Representation defined by the system Fixed Value: Prescription for medication | |||||
![]() ![]() ![]() ![]() ![]() | 0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() ![]() | 0..1 | string | Plain text representation of the concept | |||||
![]() ![]() ![]() | SΣ | 1..1 | Reference(MediRecords Core Patient) | Who/what is the subject of the document | ||||
![]() ![]() ![]() | SΣ | 1..1 | instant | Prescription date | ||||
![]() ![]() ![]() | SΣ | 1..1 | Reference(MediRecords Core Practitioner) | Author of prescription | ||||
![]() ![]() ![]() | 0..1 | Reference(MediRecords Core Practitioner) | The user from the practice who checked the document on upload | |||||
![]() ![]() ![]() | S | 1..1 | Reference(MediRecords Core Organisation) | Organization which maintains the document | ||||
![]() ![]() ![]() | Σ | 0..* | BackboneElement | Relationships to other documents | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | Σ | 1..1 | code | replaces | transforms | signs | appends Binding: DocumentRelationshipType (required): The type of relationship between documents. | ||||
![]() ![]() ![]() ![]() | Σ | 1..1 | Reference(DocumentReference) | Target of the relationship | ||||
![]() ![]() ![]() | Σ | 0..1 | string | Human-readable description | ||||
![]() ![]() ![]() | Σ | 0..* | CodeableConcept | Document security-tags Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() | Σ | 1..* | BackboneElement | Document referenced | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | Σ | 1..1 | Attachment | Where to access the document | ||||
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() | SΣ | 1..1 | code | application/pdf Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Required Pattern: application/pdf | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | code | Human language of the content (BCP-47) Binding: CommonLanguages (preferred): A human language.
Example General: en-AU | ||||
![]() ![]() ![]() ![]() ![]() | S | 0..1 | base64Binary | Data inline, base64ed | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png | ||||
![]() ![]() ![]() ![]() ![]() | SΣ | 0..1 | unsignedInt | Number of bytes of content (if url provided) | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) | ||||
![]() ![]() ![]() ![]() ![]() | SΣ | 0..1 | string | The file name of the attachment Example General: Official Corporate Logo | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | dateTime | Date attachment was first created | ||||
![]() ![]() ![]() ![]() | Σ | 0..1 | Coding | Format/content rules for the document Binding: DocumentReferenceFormatCodeSet (preferred): Document Format Codes. | ||||
![]() ![]() ![]() | Σ | 0..1 | BackboneElement | Clinical context of document | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | S | 0..1 | Reference(MediRecords Core Encounter) | Context of the document content | ||||
![]() ![]() ![]() ![]() | 0..* | CodeableConcept | Main clinical acts documented Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented. | |||||
![]() ![]() ![]() ![]() | Σ | 0..1 | Period | Time of service that is being documented | ||||
![]() ![]() ![]() ![]() | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: FacilityTypeCodeValueSet (example): XDS Facility Type. | |||||
![]() ![]() ![]() ![]() | 0..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) Binding: PracticeSettingCodeValueSet (example): Additional details about where the content was created (e.g. clinical specialty). | |||||
![]() ![]() ![]() ![]() | 0..1 | Reference(Patient) | Patient demographics from source | |||||
![]() ![]() ![]() ![]() | 0..* | Reference(Resource) | Related identifiers or resources Slice: Unordered, Open by type:$this | |||||
![]() ![]() ![]() ![]() ![]() | S | 0..1 | Reference(MedicationRequest) | Reference to related prescription MedicationRequest | ||||
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | MRDocumentReference | A reference to a document | |
![]() ![]() ![]() | 0..1 | MRMeta | Metadata about a resource | |
![]() ![]() ![]() ![]() | Σ | 0..1 | instant | When the resource version last changed |
![]() ![]() ![]() ![]() | ΣC | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
![]() ![]() ![]() | 0..1 | AULocalPrescriptionIdentifier | Local Prescription Identifier | |
![]() ![]() ![]() | ?!ΣC | 1..1 | code | Indicates if document is Active(current) or Inactive(entered-in-error) Binding: DocumentReferenceStatus (required): The status of the document reference. |
![]() ![]() ![]() | Σ | 0..1 | code | Indicates if the document is Unchecked/Draft (preliminary) or Checked/Final (final) or Amended (amended) or Cancelled/Rejected (entered-in-error) Binding: CompositionStatus (required): Status of the underlying document. |
![]() ![]() ![]() | Σ | 1..1 | CodeableConcept | Prescription for medication Binding: DocumentTypeValueSet (preferred): Precise type of clinical document. |
![]() ![]() ![]() | Σ | 1..1 | CodeableConcept | Prescription for medication Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level. Required Pattern: At least the following |
![]() ![]() ![]() ![]() | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
![]() ![]() ![]() ![]() ![]() | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
![]() ![]() ![]() ![]() ![]() | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 57833-6 | |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | Representation defined by the system Fixed Value: Prescription for medication | |
![]() ![]() ![]() | Σ | 1..1 | Reference(MediRecords Core Patient) | Who/what is the subject of the document |
![]() ![]() ![]() | Σ | 1..1 | instant | Prescription date |
![]() ![]() ![]() | Σ | 1..1 | Reference(MediRecords Core Practitioner) | Author of prescription |
![]() ![]() ![]() | 1..1 | Reference(MediRecords Core Organisation) | Organization which maintains the document | |
![]() ![]() ![]() | Σ | 1..* | BackboneElement | Document referenced |
![]() ![]() ![]() ![]() | Σ | 1..1 | Attachment | Where to access the document |
![]() ![]() ![]() ![]() ![]() | Σ | 1..1 | code | application/pdf Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Required Pattern: application/pdf |
![]() ![]() ![]() ![]() ![]() | 0..1 | base64Binary | Data inline, base64ed | |
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | unsignedInt | Number of bytes of content (if url provided) |
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | string | The file name of the attachment |
![]() ![]() ![]() | Σ | 0..1 | BackboneElement | Clinical context of document |
![]() ![]() ![]() ![]() | 0..1 | Reference(MediRecords Core Encounter) | Context of the document content | |
![]() ![]() ![]() ![]() | 0..1 | Reference(MedicationRequest) | Reference to related prescription MedicationRequest | |
![]() |
This structure is derived from MRDocumentReference
Summary
Mandatory: 4 elements
Must-Support: 3 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from MRDocumentReference
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | MRDocumentReference | A reference to a document | |
![]() ![]() ![]() | 0..* | Identifier | Other identifiers for the document Slice: Unordered, Open by pattern:type | |
![]() ![]() ![]() ![]() | S | 0..1 | AULocalPrescriptionIdentifier | Local Prescription Identifier |
![]() ![]() ![]() ![]() ![]() | 1..1 | uri | MediRecords tenant ID prefixed with 'urn:uuid:' | |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | MediRecords script number, e.g. 4010 | |
![]() ![]() ![]() ![]() ![]() | ||||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | string | MediRecords tenant name | |
![]() ![]() ![]() | 1..1 | CodeableConcept | Prescription for medication | |
![]() ![]() ![]() | 1..1 | CodeableConcept | Prescription for medication Required Pattern: At least the following | |
![]() ![]() ![]() ![]() | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
![]() ![]() ![]() ![]() ![]() | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
![]() ![]() ![]() ![]() ![]() | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 57833-6 | |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | Representation defined by the system Fixed Value: Prescription for medication | |
![]() ![]() ![]() | 1..1 | instant | Prescription date | |
![]() ![]() ![]() | S | 1..1 | Reference(MediRecords Core Practitioner) | Author of prescription |
![]() ![]() ![]() | ||||
![]() ![]() ![]() ![]() | ||||
![]() ![]() ![]() ![]() ![]() | 1..1 | code | application/pdf Required Pattern: application/pdf | |
![]() ![]() ![]() | ||||
![]() ![]() ![]() ![]() | 0..* | Reference(Resource) | Related identifiers or resources Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() ![]() | S | 0..1 | Reference(MedicationRequest) | Reference to related prescription MedicationRequest |
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() | 0..* | MRDocumentReference | A reference to a document | |||||
![]() ![]() ![]() | Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() | S | 0..1 | MRMeta | Metadata about a resource | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() | Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() ![]() | SΣ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() ![]() | Σ | 1..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() ![]() | SΣC | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() ![]() | Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() | 0..1 | Reference(MediRecords Core Practitioner | MediRecords Core Organisation | MediRecords Core Patient | MediRecords Core PractitionerRole) | MediRecords DocumentReference Recipient Extension URL: https://fhir.medirecords.com/StructureDefinition/mr-document-ref-recipient-extn | |||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..0 | |||||||
![]() ![]() ![]() ![]() | 1..1 | uri | "https://fhir.medirecords.com/StructureDefinition/mr-document-ref-recipient-extn" | |||||
![]() ![]() ![]() ![]() | 1..1 | Reference(MediRecords Core Practitioner | MediRecords Core Organisation | MediRecords Core Patient | MediRecords Core PractitionerRole) | Document recipient Slice: Unordered, Closed by type:$this | |||||
![]() ![]() ![]() ![]() ![]() | 1..1 | Reference(MediRecords Core Practitioner | MediRecords Core Organisation | MediRecords Core Patient) | Document recipient | |||||
![]() ![]() ![]() | 0..1 | string | MediRecords DocumentReference Title Extension URL: https://fhir.medirecords.com/StructureDefinition/mr-document-ref-title-extn | |||||
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() | Σ | 0..1 | Identifier | Master Version Specific Identifier | ||||
![]() ![]() ![]() | Σ | 0..* | Identifier | Other identifiers for the document Slice: Unordered, Open by pattern:type | ||||
![]() ![]() ![]() ![]() | S | 0..1 | AULocalPrescriptionIdentifier | Local Prescription Identifier | ||||
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 1..1 | CodeableConcept | Coded identifier type for local prescription identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org.au/CodeSystem/v2-0203 | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | code | Symbol in syntax defined by the system Fixed Value: LPN | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | string | Plain text representation of the concept | |||||
![]() ![]() ![]() ![]() ![]() | Σ | 1..1 | uri | MediRecords tenant ID prefixed with 'urn:uuid:' Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 1..1 | string | MediRecords script number, e.g. 4010 Example General: 123456 | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 1..1 | Reference(Organization) | Organisation that assigned the prescription identifier | ||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() | ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() ![]() ![]() | Σ | 1..1 | string | MediRecords tenant name | ||||
![]() ![]() ![]() | ?!SΣC | 1..1 | code | Indicates if document is Active(current) or Inactive(entered-in-error) Binding: DocumentReferenceStatus (required): The status of the document reference. | ||||
![]() ![]() ![]() | SΣ | 0..1 | code | Indicates if the document is Unchecked/Draft (preliminary) or Checked/Final (final) or Amended (amended) or Cancelled/Rejected (entered-in-error) Binding: CompositionStatus (required): Status of the underlying document. | ||||
![]() ![]() ![]() | SΣ | 1..1 | CodeableConcept | Prescription for medication Binding: DocumentTypeValueSet (preferred): Precise type of clinical document. | ||||
![]() ![]() ![]() | SΣ | 1..1 | CodeableConcept | Prescription for medication Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level. Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |||||
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |||||
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() ![]() | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 57833-6 | |||||
![]() ![]() ![]() ![]() ![]() | 1..1 | string | Representation defined by the system Fixed Value: Prescription for medication | |||||
![]() ![]() ![]() ![]() ![]() | 0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() ![]() | 0..1 | string | Plain text representation of the concept | |||||
![]() ![]() ![]() | SΣ | 1..1 | Reference(MediRecords Core Patient) | Who/what is the subject of the document | ||||
![]() ![]() ![]() | SΣ | 1..1 | instant | Prescription date | ||||
![]() ![]() ![]() | SΣ | 1..1 | Reference(MediRecords Core Practitioner) | Author of prescription | ||||
![]() ![]() ![]() | 0..1 | Reference(MediRecords Core Practitioner) | The user from the practice who checked the document on upload | |||||
![]() ![]() ![]() | S | 1..1 | Reference(MediRecords Core Organisation) | Organization which maintains the document | ||||
![]() ![]() ![]() | Σ | 0..* | BackboneElement | Relationships to other documents | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | Σ | 1..1 | code | replaces | transforms | signs | appends Binding: DocumentRelationshipType (required): The type of relationship between documents. | ||||
![]() ![]() ![]() ![]() | Σ | 1..1 | Reference(DocumentReference) | Target of the relationship | ||||
![]() ![]() ![]() | Σ | 0..1 | string | Human-readable description | ||||
![]() ![]() ![]() | Σ | 0..* | CodeableConcept | Document security-tags Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() | Σ | 1..* | BackboneElement | Document referenced | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | Σ | 1..1 | Attachment | Where to access the document | ||||
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() | SΣ | 1..1 | code | application/pdf Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Required Pattern: application/pdf | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | code | Human language of the content (BCP-47) Binding: CommonLanguages (preferred): A human language.
Example General: en-AU | ||||
![]() ![]() ![]() ![]() ![]() | S | 0..1 | base64Binary | Data inline, base64ed | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png | ||||
![]() ![]() ![]() ![]() ![]() | SΣ | 0..1 | unsignedInt | Number of bytes of content (if url provided) | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) | ||||
![]() ![]() ![]() ![]() ![]() | SΣ | 0..1 | string | The file name of the attachment Example General: Official Corporate Logo | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | dateTime | Date attachment was first created | ||||
![]() ![]() ![]() ![]() | Σ | 0..1 | Coding | Format/content rules for the document Binding: DocumentReferenceFormatCodeSet (preferred): Document Format Codes. | ||||
![]() ![]() ![]() | Σ | 0..1 | BackboneElement | Clinical context of document | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | S | 0..1 | Reference(MediRecords Core Encounter) | Context of the document content | ||||
![]() ![]() ![]() ![]() | 0..* | CodeableConcept | Main clinical acts documented Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented. | |||||
![]() ![]() ![]() ![]() | Σ | 0..1 | Period | Time of service that is being documented | ||||
![]() ![]() ![]() ![]() | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: FacilityTypeCodeValueSet (example): XDS Facility Type. | |||||
![]() ![]() ![]() ![]() | 0..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) Binding: PracticeSettingCodeValueSet (example): Additional details about where the content was created (e.g. clinical specialty). | |||||
![]() ![]() ![]() ![]() | 0..1 | Reference(Patient) | Patient demographics from source | |||||
![]() ![]() ![]() ![]() | 0..* | Reference(Resource) | Related identifiers or resources Slice: Unordered, Open by type:$this | |||||
![]() ![]() ![]() ![]() ![]() | S | 0..1 | Reference(MedicationRequest) | Reference to related prescription MedicationRequest | ||||
![]() |
Other representations of profile: CSV, Excel, Schematron
Path | Conformance | ValueSet / Code | ||||
DocumentReference.meta.security | extensible | All Security Labels | ||||
DocumentReference.meta.tag | example | CommonTags | ||||
DocumentReference.language | preferred | CommonLanguages
| ||||
DocumentReference.identifier:identifierLPN.use | required | IdentifierUse | ||||
DocumentReference.identifier:identifierLPN.type | extensible | Pattern: LPN | ||||
DocumentReference.identifier:identifierLPN.assigner.type | extensible | ResourceType | ||||
DocumentReference.status | required | DocumentReferenceStatus | ||||
DocumentReference.docStatus | required | CompositionStatus | ||||
DocumentReference.type | preferred | DocumentTypeValueSet | ||||
DocumentReference.category | example | Pattern: LOINC code 57833-6("Prescription for medication") | ||||
DocumentReference.relatesTo.code | required | DocumentRelationshipType | ||||
DocumentReference.securityLabel | extensible | All Security Labels | ||||
DocumentReference.content.attachment.contentType | required | Pattern: application/pdf | ||||
DocumentReference.content.attachment.language | preferred | CommonLanguages
| ||||
DocumentReference.content.format | preferred | DocumentReferenceFormatCodeSet (a valid code from http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem ) | ||||
DocumentReference.context.event | example | ActCode | ||||
DocumentReference.context.facilityType | example | FacilityTypeCodeValueSet | ||||
DocumentReference.context.practiceSetting | example | PracticeSettingCodeValueSet |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
inv-mr-docref-in-status-01 | error | DocumentReference.status | MediRecords supports only current - 'This is the current reference for this document' or entered-in-error - 'This reference was created in error' : $this.exists() implies ($this = 'current' or $this = 'entered-in-error') | |
inv-mr-meta-security-01 | error | DocumentReference.meta.security | Medirecords supports only U, R security code : code.exists() implies (code = 'U' or code = 'R') |