R4 Ballot #1 #2 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.3.0: (v3.5.0: R4 Ballot 2). #2). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions

Medicinalproductdevicespec-example.ttl

Biomedical Research and Regulation Work Group Maturity Level : N/A Ballot Status : Informative Compartments : Not linked to any defined compartments

Raw Turtle , (+ also see Turtle/RDF Format Specification )

Example of medicinalproductdevicespec

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .

@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/AdverseEvent/example> a fhir:AdverseEvent;

<http://hl7.org/fhir/MedicinalProductDeviceSpec/example> a fhir:MedicinalProductDeviceSpec;

  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example</p><p><b>identifier</b>: 49476534</p><p><b>actuality</b>: actual</p><p><b>event</b>: This was a mild rash on the left forearm <span>(Details : {SNOMED CT code '304386008' = 'O/E - itchy rash', given as 'O/E - itchy rash'})</span></p><p><b>subject</b>: <a>Patient/example</a></p><p><b>date</b>: 29/01/2017 12:34:56 PM</p><p><b>seriousness</b>: Non-serious <span>(Details : {http://hl7.org/fhir/adverse-event-seriousness code 'Non-serious' = 'Non-serious', given as 'Non-serious'})</span></p><p><b>severity</b>: Mild <span>(Details : {http://hl7.org/fhir/adverse-event-severity code 'Mild' = 'Mild', given as 'Mild'})</span></p><p><b>recorder</b>: <a>Practitioner/example</a></p><h3>SuspectEntities</h3><table><tr><td>-</td><td><b>Instance</b></td></tr><tr><td>*</td><td><a>Medication/example</a></td></tr></table></div>"

     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example</p><p><b>identifier</b>: Device.DeviceIdentifier.extension</p><p><b>type</b>: {Device.DeviceType} <span>(Details : {http://ema.europa.eu/example/deviceType code '{Device.DeviceType}' = '{Device.DeviceType})</span></p><p><b>tradeName</b>: Device Trade Name</p><p><b>quantity</b>: 2 1</p><p><b>listingNumber</b>: Device.DeviceListingNumber</p><p><b>modelNumber</b>: Device.ModelNumber</p><p><b>sterilityIndicator</b>: {Device.SterilityIndicator} <span>(Details : {http://ema.europa.eu/example/deviceSterilityIndicator code '{Device.SterilityIndicator}' = '{Device.SterilityIndicator})</span></p><p><b>sterilisationRequirement</b>: {Device.SterilisationRequirementIndicator} <span>(Details : {http://ema.europa.eu/example/deviceSterilisationRequirementIndicator code '{Device.SterilisationRequirementIndicator}' = '{Device.SterilisationRequirementIndicator})</span></p><p><b>usage</b>: {Device.DeviceUsage} <span>(Details : {http://ema.europa.eu/example/deviceUsage code '{Device.DeviceUsage}' = '{Device.DeviceUsage})</span></p><p><b>nomenclature</b>: {DeviceNomenclature.NomenclatureValue} <span>(Details : {http://ema.europa.eu/example/deviceNomenclatureNomenclature code '{DeviceNomenclature.NomenclatureValue}' = '{DeviceNomenclature.NomenclatureValue})</span></p><p><b>physicalCharacteristics</b>: </p><p><b>Exception generating Narrative: Unknown type ProdCharacteristic</b></p></div>"

  ];
  fhir:AdverseEvent.identifier [
     fhir:Identifier.system [ fhir:value "http://acme.com/ids/patients/risks" ];
     fhir:Identifier.value [ fhir:value "49476534" ]

  fhir:MedicinalProductDeviceSpec.identifier [
     fhir:Identifier.system [ fhir:value "http://ema.europa.eu/example/DeviceDeviceIdentifierRoot" ];
     fhir:Identifier.value [ fhir:value "Device.DeviceIdentifier.extension" ]

  ];
  fhir:AdverseEvent.actuality [ fhir:value "actual"];
  fhir:AdverseEvent.event [

  fhir:MedicinalProductDeviceSpec.type [

     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:304386008;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "304386008" ];
       fhir:Coding.display [ fhir:value "O/E - itchy rash" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "This was a mild rash on the left forearm" ]

       fhir:Coding.system [ fhir:value "http://ema.europa.eu/example/deviceType" ];
       fhir:Coding.code [ fhir:value "{Device.DeviceType}" ]
     ]

  ];
  fhir:AdverseEvent.subject [
     fhir:link <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ]

  fhir:MedicinalProductDeviceSpec.tradeName [ fhir:value "Device Trade Name"];
  fhir:MedicinalProductDeviceSpec.quantity [
     fhir:Quantity.value [ fhir:value "2"^^xsd:decimal ];
     fhir:Quantity.unit [ fhir:value "1" ]

  ];
  fhir:AdverseEvent.date [ fhir:value "2017-01-29T12:34:56+00:00"^^xsd:dateTime];
  fhir:AdverseEvent.seriousness [

  fhir:MedicinalProductDeviceSpec.listingNumber [ fhir:value "Device.DeviceListingNumber"];
  fhir:MedicinalProductDeviceSpec.modelNumber [ fhir:value "Device.ModelNumber"];
  fhir:MedicinalProductDeviceSpec.sterilityIndicator [

     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/adverse-event-seriousness" ];
       fhir:Coding.code [ fhir:value "Non-serious" ];
       fhir:Coding.display [ fhir:value "Non-serious" ]

       fhir:Coding.system [ fhir:value "http://ema.europa.eu/example/deviceSterilityIndicator" ];
       fhir:Coding.code [ fhir:value "{Device.SterilityIndicator}" ]

     ]
  ];
  fhir:AdverseEvent.severity [

  fhir:MedicinalProductDeviceSpec.sterilisationRequirement [

     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/adverse-event-severity" ];
       fhir:Coding.code [ fhir:value "Mild" ];
       fhir:Coding.display [ fhir:value "Mild" ]

       fhir:Coding.system [ fhir:value "http://ema.europa.eu/example/deviceSterilisationRequirementIndicator" ];
       fhir:Coding.code [ fhir:value "{Device.SterilisationRequirementIndicator}" ]

     ]
  ];
  fhir:AdverseEvent.recorder [
     fhir:link <http://hl7.org/fhir/Practitioner/example>;
     fhir:Reference.reference [ fhir:value "Practitioner/example" ]

  fhir:MedicinalProductDeviceSpec.usage [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://ema.europa.eu/example/deviceUsage" ];
       fhir:Coding.code [ fhir:value "{Device.DeviceUsage}" ]
     ]

  ];
  fhir:AdverseEvent.suspectEntity [

  fhir:MedicinalProductDeviceSpec.nomenclature [

     fhir:index 0;
     fhir:AdverseEvent.suspectEntity.instance [
       fhir:link <http://hl7.org/fhir/Medication/example>;
       fhir:Reference.reference [ fhir:value "Medication/example" ]

     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://ema.europa.eu/example/deviceNomenclatureNomenclature" ];
       fhir:Coding.code [ fhir:value "{DeviceNomenclature.NomenclatureValue}" ]
     ]
  ];
  fhir:MedicinalProductDeviceSpec.physicalCharacteristics [
     fhir:ProdCharacteristic.height [
       fhir:Quantity.value [ fhir:value "99"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "mm" ]
     ];
     fhir:ProdCharacteristic.width [
       fhir:Quantity.value [ fhir:value "100"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "mm" ]
     ];
     fhir:ProdCharacteristic.depth [
       fhir:Quantity.value [ fhir:value "10"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "mm" ]
     ];
     fhir:ProdCharacteristic.weight [
       fhir:Quantity.value [ fhir:value "100"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "g" ]
     ];
     fhir:ProdCharacteristic.nominalVolume [
       fhir:Quantity.value [ fhir:value "100"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "cm3" ]
     ];
     fhir:ProdCharacteristic.externalDiameter [
       fhir:Quantity.value [ fhir:value "100"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "mm" ]
     ];
     fhir:ProdCharacteristic.shape [ fhir:value "{PhysicalCharacteristic.Shape}" ];
     fhir:ProdCharacteristic.color [
       fhir:value "{PhysicalCharacteristic.Colour}";
       fhir:index 0
     ];
     fhir:ProdCharacteristic.imprint [
       fhir:value "{PhysicalCharacteristic.Imprint}";
       fhir:index 0
     ];
     fhir:ProdCharacteristic.scoring [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://ema.europa.eu/example/physicalCharacteristicScoring" ];
         fhir:Coding.code [ fhir:value "{PhysicalCharacteristic.Scoring}" ]
       ]
     ]
  ];
  fhir:MedicinalProductDeviceSpec.batchIdentifier [
     fhir:index 0;
     fhir:Identifier.value [ fhir:value "Device-BatchNumber" ];
     fhir:Identifier.period [
       fhir:Period.end [ fhir:value "2020-02-02"^^xsd:date ]

     ]
  ];
  fhir:MedicinalProductDeviceSpec.material [
     fhir:index 0;
     fhir:MedicinalProductDeviceSpec.material.substance [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://ema.europa.eu/example/deviceMaterial" ];
         fhir:Coding.code [ fhir:value "{Device.Material}" ]
       ]
     ];
     fhir:MedicinalProductDeviceSpec.material.alternate [ fhir:value "true"^^xsd:boolean ];
     fhir:MedicinalProductDeviceSpec.material.allergenicIndicator [ fhir:value "false"^^xsd:boolean ]
  ], [
     fhir:index 1;
     fhir:MedicinalProductDeviceSpec.material.substance [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://ema.europa.eu/example/deviceMaterial" ];
         fhir:Coding.code [ fhir:value "{Device.Material}" ]
       ]
     ];
     fhir:MedicinalProductDeviceSpec.material.alternate [ fhir:value "false"^^xsd:boolean ];
     fhir:MedicinalProductDeviceSpec.material.allergenicIndicator [ fhir:value "true"^^xsd:boolean ]

  ] .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

<http://hl7.org/fhir/Practitioner/example> a fhir:Practitioner .

<http://hl7.org/fhir/Medication/example> a fhir:Medication .


# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/AdverseEvent/example.ttl> a owl:Ontology;

<http://hl7.org/fhir/MedicinalProductDeviceSpec/example.ttl> a owl:Ontology;

  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/AdverseEvent/example.ttl> .

  owl:versionIRI <http://build.fhir.org/MedicinalProductDeviceSpec/example.ttl> .


# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.