Defining URL: | https://fhir.medirecords.com/StructureDefinition/mr-documentreference-attachment |
Version: | 1.3.0 |
Name: | MRDocumentReferencetAttachment |
Title: | MediRecords DocumentReference Attachment |
Status: | Active as of 2023-09-15 01:10:47+0000 |
Definition: | MediRecords DocumentReference profile for Attachment |
Source Resource: | XML / JSON / Turtle |
The official URL for this profile is:
https://fhir.medirecords.com/StructureDefinition/mr-documentreference-attachment
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from MRDocumentReference
This structure is derived from MRDocumentReference
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | MRDocumentReference | A Document attachment | |
![]() ![]() ![]() | 1..1 | code | Indicates if the document is Unchecked/Draft (preliminary) or Checked/Final (final) or Amended (amended) or Cancelled/Rejected (entered-in-error) Fixed Value: final | |
![]() ![]() ![]() | 1..1 | CodeableConcept | Kind of document (LOINC if possible) 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: 56444-3 | |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | Representation defined by the system Fixed Value: Healthcare communication Document | |
![]() ![]() ![]() | 1..1 | CodeableConcept | Categorization of document 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: 11506-3 | |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | Representation defined by the system Fixed Value: Progress note | |
![]() ![]() ![]() | 1..1 | instant | The date this attachment was added | |
![]() ![]() ![]() | 1..1 | BackboneElement | Document referenced | |
![]() ![]() ![]() ![]() | S | 1..1 | Attachment | Where to access the document |
![]() ![]() ![]() ![]() ![]() | 1..1 | code | Content Type of the attachment: application/msword | application/pdf | image/jpeg. Full list of supported content types are listed in the valueset: MediRecords Document Reference Letter Attachment Type. | |
![]() ![]() ![]() ![]() ![]() | 1..1 | base64Binary | Data inline, base64ed | |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | The file name of the attachment | |
![]() ![]() ![]() | S | 1..1 | BackboneElement | Clinical context of document |
![]() ![]() ![]() ![]() | 1..1 | Reference(MediRecords Core Encounter) | The encounter where this file was attached | |
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() | 0..* | MRDocumentReference | A Document attachment | |||||
![]() ![]() ![]() | Σ | 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 | ||||
![]() ![]() ![]() | ?!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Σ | 1..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. Fixed Value: final | ||||
![]() ![]() ![]() | SΣ | 1..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: DocumentTypeValueSet (preferred): Precise type of clinical document. 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: 56444-3 | |||||
![]() ![]() ![]() ![]() ![]() | 1..1 | string | Representation defined by the system Fixed Value: Healthcare communication Document | |||||
![]() ![]() ![]() ![]() ![]() | 0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() ![]() | 0..1 | string | Plain text representation of the concept | |||||
![]() ![]() ![]() | SΣ | 1..1 | CodeableConcept | Categorization of document 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: 11506-3 | |||||
![]() ![]() ![]() ![]() ![]() | 1..1 | string | Representation defined by the system Fixed Value: Progress note | |||||
![]() ![]() ![]() ![]() ![]() | 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 | The date this attachment was added | ||||
![]() ![]() ![]() | Σ | 0..1 | Reference(MediRecords Core Practitioner | MediRecords Core PractitionerRole | MediRecords Core Organisation) | Who and/or what authored the document | ||||
![]() ![]() ![]() | 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..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 | ||||
![]() ![]() ![]() ![]() | SΣ | 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 | Content Type of the attachment: application/msword | application/pdf | image/jpeg.
Full list of supported content types are listed in the valueset: MediRecords Document Reference Letter Attachment Type. Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Example General: text/plain; charset=UTF-8, image/png | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | code | Human language of the content (BCP-47) Binding: CommonLanguages (preferred): A human language.
Example General: en-AU | ||||
![]() ![]() ![]() ![]() ![]() | S | 1..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Σ | 1..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. | ||||
![]() ![]() ![]() | SΣ | 1..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 | 1..1 | Reference(MediRecords Core Encounter) | The encounter where this file was attached | ||||
![]() ![]() ![]() ![]() | 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 | |||||
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | MRDocumentReference | A Document attachment | |
![]() ![]() ![]() | 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. |
![]() ![]() ![]() | ?!ΣC | 1..1 | code | Indicates if document is Active(current) or Inactive(entered-in-error) Binding: DocumentReferenceStatus (required): The status of the document reference. |
![]() ![]() ![]() | Σ | 1..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. Fixed Value: final |
![]() ![]() ![]() | Σ | 1..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: DocumentTypeValueSet (preferred): Precise type of clinical document. 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: 56444-3 | |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | Representation defined by the system Fixed Value: Healthcare communication Document | |
![]() ![]() ![]() | Σ | 1..1 | CodeableConcept | Categorization of document 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: 11506-3 | |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | Representation defined by the system Fixed Value: Progress note | |
![]() ![]() ![]() | Σ | 1..1 | Reference(MediRecords Core Patient) | Who/what is the subject of the document |
![]() ![]() ![]() | Σ | 1..1 | instant | The date this attachment was added |
![]() ![]() ![]() | 1..1 | Reference(MediRecords Core Organisation) | Organization which maintains the document | |
![]() ![]() ![]() | Σ | 1..1 | BackboneElement | Document referenced |
![]() ![]() ![]() ![]() | Σ | 1..1 | Attachment | Where to access the document |
![]() ![]() ![]() ![]() ![]() | Σ | 1..1 | code | Content Type of the attachment: application/msword | application/pdf | image/jpeg.
Full list of supported content types are listed in the valueset: MediRecords Document Reference Letter Attachment Type. Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. |
![]() ![]() ![]() ![]() ![]() | 1..1 | base64Binary | Data inline, base64ed | |
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | unsignedInt | Number of bytes of content (if url provided) |
![]() ![]() ![]() ![]() ![]() | Σ | 1..1 | string | The file name of the attachment |
![]() ![]() ![]() | Σ | 1..1 | BackboneElement | Clinical context of document |
![]() ![]() ![]() ![]() | 1..1 | Reference(MediRecords Core Encounter) | The encounter where this file was attached | |
![]() |
This structure is derived from MRDocumentReference
Differential View
This structure is derived from MRDocumentReference
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | MRDocumentReference | A Document attachment | |
![]() ![]() ![]() | 1..1 | code | Indicates if the document is Unchecked/Draft (preliminary) or Checked/Final (final) or Amended (amended) or Cancelled/Rejected (entered-in-error) Fixed Value: final | |
![]() ![]() ![]() | 1..1 | CodeableConcept | Kind of document (LOINC if possible) 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: 56444-3 | |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | Representation defined by the system Fixed Value: Healthcare communication Document | |
![]() ![]() ![]() | 1..1 | CodeableConcept | Categorization of document 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: 11506-3 | |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | Representation defined by the system Fixed Value: Progress note | |
![]() ![]() ![]() | 1..1 | instant | The date this attachment was added | |
![]() ![]() ![]() | 1..1 | BackboneElement | Document referenced | |
![]() ![]() ![]() ![]() | S | 1..1 | Attachment | Where to access the document |
![]() ![]() ![]() ![]() ![]() | 1..1 | code | Content Type of the attachment: application/msword | application/pdf | image/jpeg. Full list of supported content types are listed in the valueset: MediRecords Document Reference Letter Attachment Type. | |
![]() ![]() ![]() ![]() ![]() | 1..1 | base64Binary | Data inline, base64ed | |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | The file name of the attachment | |
![]() ![]() ![]() | S | 1..1 | BackboneElement | Clinical context of document |
![]() ![]() ![]() ![]() | 1..1 | Reference(MediRecords Core Encounter) | The encounter where this file was attached | |
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() | 0..* | MRDocumentReference | A Document attachment | |||||
![]() ![]() ![]() | Σ | 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 | ||||
![]() ![]() ![]() | ?!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Σ | 1..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. Fixed Value: final | ||||
![]() ![]() ![]() | SΣ | 1..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: DocumentTypeValueSet (preferred): Precise type of clinical document. 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: 56444-3 | |||||
![]() ![]() ![]() ![]() ![]() | 1..1 | string | Representation defined by the system Fixed Value: Healthcare communication Document | |||||
![]() ![]() ![]() ![]() ![]() | 0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() ![]() | 0..1 | string | Plain text representation of the concept | |||||
![]() ![]() ![]() | SΣ | 1..1 | CodeableConcept | Categorization of document 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: 11506-3 | |||||
![]() ![]() ![]() ![]() ![]() | 1..1 | string | Representation defined by the system Fixed Value: Progress note | |||||
![]() ![]() ![]() ![]() ![]() | 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 | The date this attachment was added | ||||
![]() ![]() ![]() | Σ | 0..1 | Reference(MediRecords Core Practitioner | MediRecords Core PractitionerRole | MediRecords Core Organisation) | Who and/or what authored the document | ||||
![]() ![]() ![]() | 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..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 | ||||
![]() ![]() ![]() ![]() | SΣ | 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 | Content Type of the attachment: application/msword | application/pdf | image/jpeg.
Full list of supported content types are listed in the valueset: MediRecords Document Reference Letter Attachment Type. Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Example General: text/plain; charset=UTF-8, image/png | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | code | Human language of the content (BCP-47) Binding: CommonLanguages (preferred): A human language.
Example General: en-AU | ||||
![]() ![]() ![]() ![]() ![]() | S | 1..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Σ | 1..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. | ||||
![]() ![]() ![]() | SΣ | 1..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 | 1..1 | Reference(MediRecords Core Encounter) | The encounter where this file was attached | ||||
![]() ![]() ![]() ![]() | 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 | |||||
![]() |
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.status | required | DocumentReferenceStatus | ||||
DocumentReference.docStatus | required | Fixed Value: final | ||||
DocumentReference.type | preferred | Pattern: LOINC code 56444-3("Healthcare communication Document") | ||||
DocumentReference.category | example | Pattern: LOINC code 11506-3("Progress note") | ||||
DocumentReference.relatesTo.code | required | DocumentRelationshipType | ||||
DocumentReference.securityLabel | extensible | All Security Labels | ||||
DocumentReference.content.attachment.contentType | required | Mime Types (a valid code from urn:ietf:bcp:13 ) | ||||
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') |